package com.example.newsdaily.entity;

public class NewsDetail {

    private Integer id;


    private String title;


    private String editor;


    private Integer head_img_id;


    private Integer pic_id;


    public NewsDetail(Integer id, String title, Integer head_img_id, String editor, Integer pic_id) {
        this.id = id;
        this.title = title;
        this.editor = editor;
        this.head_img_id = head_img_id;
        this.pic_id = pic_id;
    }

    public NewsDetail() {}

    public void setId(Integer id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public void setHead_img_id(Integer head_img_id) {
        this.head_img_id = head_img_id;
    }

    public void setPic_id(Integer pic_id) {
        this.pic_id = pic_id;
    }

    public Integer getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getEditor() {
        return editor;
    }

    public Integer getHead_img_id() {
        return head_img_id;
    }

    public Integer getPic_id() {
        return pic_id;
    }

}
